]> dgit.raspbian.org Git - gnome-shell.git/commit
gdm/loginDialog: Reset the greeter proxy on connection closed
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Wed, 17 Sep 2025 16:26:17 +0000 (18:26 +0200)
committerMarge Bot <marge-bot@gnome.org>
Mon, 2 Feb 2026 14:48:15 +0000 (14:48 +0000)
commited6531fa79a67309f786893321c4b7af23f9d651
treecc6e9a9d3b0989c904f89acf014f5dc49bbff014
parent7bb1021beed5ce704653a21e7df43514c1abf01f
gdm/loginDialog: Reset the greeter proxy on connection closed

If gdm fails to start the display session the greeter proxy we are using
gets disconnected, however since commit 56ea95f2 we are now preserving
the greeter instance, and this will eventually lead to using an instance
of a disconnected proxy.

This eventually implies that after a login failure, we would never get
the `::session-opened` signal that actually triggers the session start.

And thus, even the user has properly authenticated, gdm will stick to
the authentication page.

So, instead of reverting such commit (that isn't wrong per se), consume
the greeter proxy connection `::closed` signal and use it to
re-initialize the greeter instance.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3885>
js/gdm/loginDialog.js